<template>
  <div>
    <h1>About</h1>
    <button @click="increment">Increment</button>
    <p>Count: {{ counterStore.count }}</p>
  </div>
</template>

<script setup lang="ts">
import { useCounterStore } from '@/stores/counter'

const counterStore = useCounterStore()

const increment = () => {
  counterStore.increment()
}
</script>

<style scoped></style>
